Victor Image Processing Library -- Function Summary

The functions in Victor Library v 4.11 are arranged in the following catagories.

File Operations
Image Processing Functions
Image Manipulation
Image Analysis
Color Reduction and Image Conversion
Color Palette Functions
Memory Management
Video Digitizer Support
Printer Functions
Scanner Control
Display Functions


File Operations
BMP, GIF, JPEG, PCX, TGA, TIFF, and raw data file formats are supported for loading and saving.

     loadbif           load 8-bit binary image data file
     loadbmp           load 1-, 4-, 8-, or 24-bit BMP file 
                       (uncompressed or RLE)
     loadgif           load 1- through 8-bit GIF file
     loadgifpalette    load GIF palette
     loadjpg           load 8- or 24-bit JPEG file
     loadjpgfrombuffer load 8- or 24-bit JPEG file from memory
     loadpcx           load 1-, 4-, 8-, or 24-bit PCX file
     loadpcxpalette    load PCX color palette
     loadtga           load Targa 8-, 16-, 24-, 32-bit file 
                       (uncompressed or compressed)
     loadtgapalette    load TGA color palette
     loadtif           load 1-, 4-, 6-, 8-, or 24-bit TIFF 
                       (uncompressed, PackBits, G3, G4 or LZW)
     loadtifpage       load an image from a multipage TIFF file
     loadtifpalette    load TIFF color palette
     savebif           save 8-bit binary image data file
     savebmp           save image as 1-, 8-, or 24-bit BMP 
                       (uncompressed or compressed)
     saveeps           save image as EPS file (grayscale or color)
     savegif           save image as 1- or 8-bit GIF file
     savegifex         save image as 1-, 4-, or 8-bit GIF file with
                       interlace and transparent color options
     savejpg           save image as 8-bit grayscale or 24-bit color 
                       JPEG compressed file (quality range 1 to 100)
     savepcx           save image as 1- or 8-bit PCX 
     savetga           save image as 24-bit RGB Targa 
                       (uncompressed or compressed) 
     savetif           save image as 1-, 8-, or 24-bit TIFF 
                       (uncompressed, PackBits, G3, G4 or LZW)
     savetifpage       save image in a multipage TIFF file
     bmpinfo           obtain information about BMP file
     gifinfo           obtain information about GIF file
     jpeginfo          obtain information about JPEG file
     jpeginfofrombuff  obtain information about JPEG file from memory
     pcxinfo           obtain information about PCX file
     tgainfo           obtain information about TGA file
     tiffinfo          obtain information about TIFF file
     tiffgetpageinfo   obtain total pages info from multipage TIFF file
     tiffinfopage      obtain image info from a specific page in TIFF file
     unlockLZW         unlock LZW compression/decompression functionality
                       (requires valid LZW license from Unisys)

Image Processing Functions
Image processing functions alter the brightness level values of an image. These functions can operate on multiple images, a single image, or any rectangular area within an image.

     blur              smoothing filter
     blurthresh        smoothing filter with threshold
     brightenmidrange  raise brightness of mid levels
     changebright      increase or decrease brightness
     divide            divide by factor
     exchangelevel     change range to new value
     expandcontrast    increase contrast
     gammabrighten     adjust gamma brightness
     histobrighten     histogram brightening
     histoequalize     histogram equalization
     kodalith          create high contrast image
     limitlevel        set maximum brightness level
     matrixconv        matrix convolution
     multiply          multiply by factor
     negative          negative image
     outline           edge detection filter
     pixellize         pixellation
     removenoise       median filter
     sharpen           sharpening filter
     sharpengentle     gently sharpen
     threshold         set minimum brightness level
     usetable          assign brightness based on table
     addimage          add two images
     andimage          AND two images
     cover             overlay two images
     orimage           OR two images
     subimage          subtract two images
     wtaverage         weighted average of two images
     xorimage          XOR two images
     zeroimage         set all pixel values to a value

Image Manipulation
These functions alter an image area's shape, dimensions, position, or orientation.

     copyimage         copy or crop image
     flipimage         flip image top to bottom
     mirrorimage       reverse image left to right
     resize            resize image 
     rotate            rotate image any angle
     rotate90          rotate image 90 degrees
     setimagearea      set region of interest in image, all subsequent operations
                       affect only the region of interest

Image Analysis
     calcavglevel      calculate average brightness 
     calchisto         calculate histogram
     getpixelcolor     read a pixel value
     pixelcount        count pixels in brightness range
     setpixelcolor     set pixel value

Color Reduction and Image Conversion
These functions operate on images and color palettes and convert between image formats.

     colordither       create dithered color image, 16- or 256-color palette
     colorscatter      create scatter color image, 16- or 256-color palette
     colortogray       color image to grayscale
     convert1to8bit    1-bit image to 8-bit image
     convert8to1bit    8-bit image to 1-bit image with 
                       dither, scatter, or threshold options
     convertrgbpal     24-bit RGB image to 8-bit with optimum palette 
     convertrgbpalex   24-bit RGB image to 8-bit with optimum palette with
                       diffusion scatter and color matching options
     convertpalrgb     8-bit image to 24-bit RGB
     dibtobitmap       DIB to a device specific bitmap
     imagetodib        extract an image area and create a new DIB
     matchcolorimage   match image to a specified palette
     matchcolorimageex match image to a specified palette with
                       diffusion scatter and color matching options
     reduceimagecolors decrease the number of colors used in an image

Color Palette Functions
These functions operate on color palettes and convert between palette formats.

     copyimagepal      copy image palette data
     defaultpalette    assign Windows palette to image
     rainbowpalette    assign rainbow palette to image
     hsv2rgb           convert hue, saturation, value table to red,
                       green, blue palette
     rgb2hsv           convert red, green, blue palette to hue,
                       saturation, value table
     victowinpal       convert image palette to Windows logical palette
     wintovicpal       convert Windows logical palette to image
                       palette

Memory Management
Victor for Dos operates on images stored in expanded, extended, conventional, or virtual memory. Victor for Windws operates on images stored as DIBs in global memory. These functions allocate or free memory for image storage.

     allocDIB          allocate space for a clipboard-compatible DIB
     allocimage        allocate space for an image
     freeimage         free an allocated image

Video Digitizer Support
Optional support is available for several framegrabbers.

These modules have the functionality to give you complete control over the video framegrabbers.


Printer Functions
The printer functions print an image area. Victor for Windows supports all Windows printers, Victor for Dos supports LaserJet (up to 1200 dpi), Epson 24-pin, Canon, and DeskJet Color printers. Print methods supported are bilevel, halftone, scatter, color, and Windows default method.

     printimage        print image 
     printimagenoeject print image without ejecting page, allowing multiple
                       images and text to be printed

Scanner Control
ScanJet functions set scanner parameters, return parameter values, and capture bilevel, grayscale, and RGB color images from HP ScanJet scanners. Automatic document feeder is also supported in Victor for Windows

     SJdetect          detect scanner driver and issue handle
     SJdetectdriver    detect scanner driver
     SJerrno           get last error code
     SJgetcurrent      get current value of a parameter
     SJgetdatawidth    get output data width in bits
     SJgetdatatype     get output data type
     SJgetmax          get maximum value of a parameter
     SJgetmin          get minimum value of a parameter
     SJgetscanbytes    get width of scan window in bytes
     SJgetscanrows     get scanlines in scan window
     SJmodel           identify scanner model
     SJsetcontrast     set contrast of scanned image
     SJsetintensity    set intensity of scanned image
     SJsetdatatype     set scanner data type
     SJsetdatawidth    set data width in bytes
     SJscanimage       scan into an image buffer
     SJwinsize         set the scanner window 
     SJxyres           set scanner resolution

Display Functions
These display functions display the image or histogram.

     drawhisto         display histogram
     viewimage         display image
     viewimageex       display image with automatic color reduction 
                       at a specific location in a window
Victor supports all Windows and VESA display adapters.

Victor Image Processing Library - Welcome
What's New with Victor
Product Summary
Function Summary
Sample Code


Copyright © 1995 Catenary Systems Inc. All rights reserved. Victor Image Processing Library is a trademark of Catenary Systems.